package com.atguigu.tingshu.search.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "thread.pool")
public class ThreadPoolProperties {
    private Integer  corePoolSize;//: 200
    private Integer  maximumPoolSize;//: 1000
    private Integer  keepAliveTime;//: 60
    private Integer  workQueueSize;//: 5000
}
